import {sum} from "./utils/math.js"
import "./css/div_style.css" // 导入css，添加到依赖图结构
import "./css/div_style.less"
// 引入图片模块
import githubImg from "./img/github.png";

const message = "Hello World!"

sum(20,30)
sum(10,20)

console.log(message.length);


const bar=()=>{
    console.log("bar function execution~");
}

bar()
bar()


const divEl = document.createElement('div')

divEl.textContent = "Hello World!"

divEl.classList.add("content")

document.body.append(divEl);

// 创建img元素
const imgEl = document.createElement("img")
imgEl.src = githubImg
document.body.append(imgEl)

// 创建元素添加背景
const divBgEl = document.createElement("div")
divBgEl.classList.add(".img-bg")
document.body.append(divBgEl)



